package com.chen.hotel.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class LoginForm {

    @NotEmpty(message = "用户名必填")
    private String username;

    @NotEmpty(message = "密码为必填项")
    private String password;

}
